package com.lwlk.zdk.model.pw;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class pwPlatformMonthAssessExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public pwPlatformMonthAssessExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPlatformIdIsNull() {
            addCriterion("platform_id is null");
            return (Criteria) this;
        }

        public Criteria andPlatformIdIsNotNull() {
            addCriterion("platform_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformIdEqualTo(Integer value) {
            addCriterion("platform_id =", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdNotEqualTo(Integer value) {
            addCriterion("platform_id <>", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdGreaterThan(Integer value) {
            addCriterion("platform_id >", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("platform_id >=", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdLessThan(Integer value) {
            addCriterion("platform_id <", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdLessThanOrEqualTo(Integer value) {
            addCriterion("platform_id <=", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdIn(List<Integer> values) {
            addCriterion("platform_id in", values, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdNotIn(List<Integer> values) {
            addCriterion("platform_id not in", values, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdBetween(Integer value1, Integer value2) {
            addCriterion("platform_id between", value1, value2, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdNotBetween(Integer value1, Integer value2) {
            addCriterion("platform_id not between", value1, value2, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformNameIsNull() {
            addCriterion("platform_name is null");
            return (Criteria) this;
        }

        public Criteria andPlatformNameIsNotNull() {
            addCriterion("platform_name is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformNameEqualTo(String value) {
            addCriterion("platform_name =", value, "platformName");
            return (Criteria) this;
        }

        public Criteria andPlatformNameNotEqualTo(String value) {
            addCriterion("platform_name <>", value, "platformName");
            return (Criteria) this;
        }

        public Criteria andPlatformNameGreaterThan(String value) {
            addCriterion("platform_name >", value, "platformName");
            return (Criteria) this;
        }

        public Criteria andPlatformNameGreaterThanOrEqualTo(String value) {
            addCriterion("platform_name >=", value, "platformName");
            return (Criteria) this;
        }

        public Criteria andPlatformNameLessThan(String value) {
            addCriterion("platform_name <", value, "platformName");
            return (Criteria) this;
        }

        public Criteria andPlatformNameLessThanOrEqualTo(String value) {
            addCriterion("platform_name <=", value, "platformName");
            return (Criteria) this;
        }

        public Criteria andPlatformNameLike(String value) {
            addCriterion("platform_name like", value, "platformName");
            return (Criteria) this;
        }

        public Criteria andPlatformNameNotLike(String value) {
            addCriterion("platform_name not like", value, "platformName");
            return (Criteria) this;
        }

        public Criteria andPlatformNameIn(List<String> values) {
            addCriterion("platform_name in", values, "platformName");
            return (Criteria) this;
        }

        public Criteria andPlatformNameNotIn(List<String> values) {
            addCriterion("platform_name not in", values, "platformName");
            return (Criteria) this;
        }

        public Criteria andPlatformNameBetween(String value1, String value2) {
            addCriterion("platform_name between", value1, value2, "platformName");
            return (Criteria) this;
        }

        public Criteria andPlatformNameNotBetween(String value1, String value2) {
            addCriterion("platform_name not between", value1, value2, "platformName");
            return (Criteria) this;
        }

        public Criteria andAssessTypeIsNull() {
            addCriterion("assess_type is null");
            return (Criteria) this;
        }

        public Criteria andAssessTypeIsNotNull() {
            addCriterion("assess_type is not null");
            return (Criteria) this;
        }

        public Criteria andAssessTypeEqualTo(String value) {
            addCriterion("assess_type =", value, "assessType");
            return (Criteria) this;
        }

        public Criteria andAssessTypeNotEqualTo(String value) {
            addCriterion("assess_type <>", value, "assessType");
            return (Criteria) this;
        }

        public Criteria andAssessTypeGreaterThan(String value) {
            addCriterion("assess_type >", value, "assessType");
            return (Criteria) this;
        }

        public Criteria andAssessTypeGreaterThanOrEqualTo(String value) {
            addCriterion("assess_type >=", value, "assessType");
            return (Criteria) this;
        }

        public Criteria andAssessTypeLessThan(String value) {
            addCriterion("assess_type <", value, "assessType");
            return (Criteria) this;
        }

        public Criteria andAssessTypeLessThanOrEqualTo(String value) {
            addCriterion("assess_type <=", value, "assessType");
            return (Criteria) this;
        }

        public Criteria andAssessTypeLike(String value) {
            addCriterion("assess_type like", value, "assessType");
            return (Criteria) this;
        }

        public Criteria andAssessTypeNotLike(String value) {
            addCriterion("assess_type not like", value, "assessType");
            return (Criteria) this;
        }

        public Criteria andAssessTypeIn(List<String> values) {
            addCriterion("assess_type in", values, "assessType");
            return (Criteria) this;
        }

        public Criteria andAssessTypeNotIn(List<String> values) {
            addCriterion("assess_type not in", values, "assessType");
            return (Criteria) this;
        }

        public Criteria andAssessTypeBetween(String value1, String value2) {
            addCriterion("assess_type between", value1, value2, "assessType");
            return (Criteria) this;
        }

        public Criteria andAssessTypeNotBetween(String value1, String value2) {
            addCriterion("assess_type not between", value1, value2, "assessType");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumIsNull() {
            addCriterion("the_laid_off_sum is null");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumIsNotNull() {
            addCriterion("the_laid_off_sum is not null");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumEqualTo(String value) {
            addCriterion("the_laid_off_sum =", value, "theLaidOffSum");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumNotEqualTo(String value) {
            addCriterion("the_laid_off_sum <>", value, "theLaidOffSum");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumGreaterThan(String value) {
            addCriterion("the_laid_off_sum >", value, "theLaidOffSum");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumGreaterThanOrEqualTo(String value) {
            addCriterion("the_laid_off_sum >=", value, "theLaidOffSum");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumLessThan(String value) {
            addCriterion("the_laid_off_sum <", value, "theLaidOffSum");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumLessThanOrEqualTo(String value) {
            addCriterion("the_laid_off_sum <=", value, "theLaidOffSum");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumLike(String value) {
            addCriterion("the_laid_off_sum like", value, "theLaidOffSum");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumNotLike(String value) {
            addCriterion("the_laid_off_sum not like", value, "theLaidOffSum");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumIn(List<String> values) {
            addCriterion("the_laid_off_sum in", values, "theLaidOffSum");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumNotIn(List<String> values) {
            addCriterion("the_laid_off_sum not in", values, "theLaidOffSum");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumBetween(String value1, String value2) {
            addCriterion("the_laid_off_sum between", value1, value2, "theLaidOffSum");
            return (Criteria) this;
        }

        public Criteria andTheLaidOffSumNotBetween(String value1, String value2) {
            addCriterion("the_laid_off_sum not between", value1, value2, "theLaidOffSum");
            return (Criteria) this;
        }

        public Criteria andResponseSumIsNull() {
            addCriterion("response_sum is null");
            return (Criteria) this;
        }

        public Criteria andResponseSumIsNotNull() {
            addCriterion("response_sum is not null");
            return (Criteria) this;
        }

        public Criteria andResponseSumEqualTo(String value) {
            addCriterion("response_sum =", value, "responseSum");
            return (Criteria) this;
        }

        public Criteria andResponseSumNotEqualTo(String value) {
            addCriterion("response_sum <>", value, "responseSum");
            return (Criteria) this;
        }

        public Criteria andResponseSumGreaterThan(String value) {
            addCriterion("response_sum >", value, "responseSum");
            return (Criteria) this;
        }

        public Criteria andResponseSumGreaterThanOrEqualTo(String value) {
            addCriterion("response_sum >=", value, "responseSum");
            return (Criteria) this;
        }

        public Criteria andResponseSumLessThan(String value) {
            addCriterion("response_sum <", value, "responseSum");
            return (Criteria) this;
        }

        public Criteria andResponseSumLessThanOrEqualTo(String value) {
            addCriterion("response_sum <=", value, "responseSum");
            return (Criteria) this;
        }

        public Criteria andResponseSumLike(String value) {
            addCriterion("response_sum like", value, "responseSum");
            return (Criteria) this;
        }

        public Criteria andResponseSumNotLike(String value) {
            addCriterion("response_sum not like", value, "responseSum");
            return (Criteria) this;
        }

        public Criteria andResponseSumIn(List<String> values) {
            addCriterion("response_sum in", values, "responseSum");
            return (Criteria) this;
        }

        public Criteria andResponseSumNotIn(List<String> values) {
            addCriterion("response_sum not in", values, "responseSum");
            return (Criteria) this;
        }

        public Criteria andResponseSumBetween(String value1, String value2) {
            addCriterion("response_sum between", value1, value2, "responseSum");
            return (Criteria) this;
        }

        public Criteria andResponseSumNotBetween(String value1, String value2) {
            addCriterion("response_sum not between", value1, value2, "responseSum");
            return (Criteria) this;
        }

        public Criteria andResponseRatesIsNull() {
            addCriterion("response_rates is null");
            return (Criteria) this;
        }

        public Criteria andResponseRatesIsNotNull() {
            addCriterion("response_rates is not null");
            return (Criteria) this;
        }

        public Criteria andResponseRatesEqualTo(String value) {
            addCriterion("response_rates =", value, "responseRates");
            return (Criteria) this;
        }

        public Criteria andResponseRatesNotEqualTo(String value) {
            addCriterion("response_rates <>", value, "responseRates");
            return (Criteria) this;
        }

        public Criteria andResponseRatesGreaterThan(String value) {
            addCriterion("response_rates >", value, "responseRates");
            return (Criteria) this;
        }

        public Criteria andResponseRatesGreaterThanOrEqualTo(String value) {
            addCriterion("response_rates >=", value, "responseRates");
            return (Criteria) this;
        }

        public Criteria andResponseRatesLessThan(String value) {
            addCriterion("response_rates <", value, "responseRates");
            return (Criteria) this;
        }

        public Criteria andResponseRatesLessThanOrEqualTo(String value) {
            addCriterion("response_rates <=", value, "responseRates");
            return (Criteria) this;
        }

        public Criteria andResponseRatesLike(String value) {
            addCriterion("response_rates like", value, "responseRates");
            return (Criteria) this;
        }

        public Criteria andResponseRatesNotLike(String value) {
            addCriterion("response_rates not like", value, "responseRates");
            return (Criteria) this;
        }

        public Criteria andResponseRatesIn(List<String> values) {
            addCriterion("response_rates in", values, "responseRates");
            return (Criteria) this;
        }

        public Criteria andResponseRatesNotIn(List<String> values) {
            addCriterion("response_rates not in", values, "responseRates");
            return (Criteria) this;
        }

        public Criteria andResponseRatesBetween(String value1, String value2) {
            addCriterion("response_rates between", value1, value2, "responseRates");
            return (Criteria) this;
        }

        public Criteria andResponseRatesNotBetween(String value1, String value2) {
            addCriterion("response_rates not between", value1, value2, "responseRates");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}